package com.caipin.domain.web;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-10-06 11:48
 * @Description: TODO
 */
public class BodyTemperatureReport {
    private String username;

    private String userType;

    private String grade;

    private String clbum;

    private String temperature;

    public com.caipin.domain.web.BodyTemperatureReport setUsername(String username) {
        this.username = username;
        return this;
    }

    public com.caipin.domain.web.BodyTemperatureReport setUserType(String userType) {
        this.userType = userType;
        return this;
    }

    public com.caipin.domain.web.BodyTemperatureReport setGrade(String grade) {
        this.grade = grade;
        return this;
    }

    public com.caipin.domain.web.BodyTemperatureReport setClbum(String clbum) {
        this.clbum = clbum;
        return this;
    }

    public com.caipin.domain.web.BodyTemperatureReport setTemperature(String temperature) {
        this.temperature = temperature;
        return this;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.caipin.domain.web.BodyTemperatureReport))
            return false;
        com.caipin.domain.web.BodyTemperatureReport other = (com.caipin.domain.web.BodyTemperatureReport)o;
        if (!other.canEqual(this))
            return false;
        Object this$username = getUsername(), other$username = other.getUsername();
        if ((this$username == null) ? (other$username != null) : !this$username.equals(other$username))
            return false;
        Object this$userType = getUserType(), other$userType = other.getUserType();
        if ((this$userType == null) ? (other$userType != null) : !this$userType.equals(other$userType))
            return false;
        Object this$grade = getGrade(), other$grade = other.getGrade();
        if ((this$grade == null) ? (other$grade != null) : !this$grade.equals(other$grade))
            return false;
        Object this$clbum = getClbum(), other$clbum = other.getClbum();
        if ((this$clbum == null) ? (other$clbum != null) : !this$clbum.equals(other$clbum))
            return false;
        Object this$temperature = getTemperature(), other$temperature = other.getTemperature();
        return !((this$temperature == null) ? (other$temperature != null) : !this$temperature.equals(other$temperature));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.caipin.domain.web.BodyTemperatureReport;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        Object $username = getUsername();
        result = result * 59 + (($username == null) ? 43 : $username.hashCode());
        Object $userType = getUserType();
        result = result * 59 + (($userType == null) ? 43 : $userType.hashCode());
        Object $grade = getGrade();
        result = result * 59 + (($grade == null) ? 43 : $grade.hashCode());
        Object $clbum = getClbum();
        result = result * 59 + (($clbum == null) ? 43 : $clbum.hashCode());
        Object $temperature = getTemperature();
        return result * 59 + (($temperature == null) ? 43 : $temperature.hashCode());
    }

    public String toString() {
        return "BodyTemperatureReport(username=" + getUsername() + ", userType=" + getUserType() + ", grade=" + getGrade() + ", clbum=" + getClbum() + ", temperature=" + getTemperature() + ")";
    }

    public String getUsername() {
        return this.username;
    }

    public String getUserType() {
        return this.userType;
    }

    public String getGrade() {
        return this.grade;
    }

    public String getClbum() {
        return this.clbum;
    }

    public String getTemperature() {
        return this.temperature;
    }
}

